package cn.ainit.sys.framework.save;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class StatementParamT {
	private String msg = "";
	/***
	 * 界面经过处理后的键值对
	 */
	private Map<String, Object> mapRecord = new HashMap<String, Object>();
	//声明语句
	private StringBuffer sql = new StringBuffer();
	//缓存语句
	private StringBuffer tmpSql = new StringBuffer();
	//缓存字段1
	private List<String> cname = new ArrayList<String>();
	//缓存值1
	private List<String> cvalues = new ArrayList<String>();
	//字段的转义的方法
	private List<String> cformatFunc=new ArrayList<String>();
	private List<String> needCname = new ArrayList<String>();
	private List<String> needCvalue = new ArrayList<String>();
	//sql语句中值的类型
	private List<String> clnTypeList = new ArrayList<String>();
	
	//条件缓存字段2
	private List<String> wname = new ArrayList<String>();
	//条件缓存值2
	private List<String> wvalues = new ArrayList<String>();
	//需要返回的主键值
	private Map<String, String> returnPk = new HashMap<String, String>();
	//操作的表名
	private String tableName;
	//表的字段类型
	private Map<String, String> clnType = new HashMap<String, String>();
	
	private String dsId;    
	
	private String djId;    //单据的主键值

	private String tablePkName;	//单据的主键名称
	
	private String tablePkVal; //单据的主键值
	
	
	private String uid;     //登录人
	
	List<Map<String, Object>> recordLogColns=new ArrayList<Map<String,Object>>();   	//需要记录到历史记录的列
	
	public String getTablePkName() {
		return tablePkName;
	}
	public void setTablePkName(String tablePkName) {
		this.tablePkName = tablePkName;
	}
	public List<String> getClnTypeList() {
		return clnTypeList;
	}
	public void setClnTypeList(List<String> clnTypeList) {
		this.clnTypeList = clnTypeList;
	}
	public Map<String, Object> getMapRecord() {
		return mapRecord;
	}
	public void setMapRecord(Map<String, Object> mapRecord) {
		this.mapRecord = mapRecord;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
	public Map<String, String> getClnType() {
		return clnType;
	}
	public void setClnType(Map<String, String> clnType) {
		this.clnType = clnType;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public StringBuffer getSql() {
		return sql;
	}
	public void setSql(StringBuffer sql) {
		this.sql = sql;
	}
	public List<String> getCname() {
		return cname;
	}
	public void setCname(List<String> cname) {
		this.cname = cname;
	}
	public List<String> getCvalues() {
		return cvalues;
	}
	public void setCvalues(List<String> cvalues) {
		this.cvalues = cvalues;
	}
	public List<String> getWname() {
		return wname;
	}
	public void setWname(List<String> wname) {
		this.wname = wname;
	}
	public List<String> getWvalues() {
		return wvalues;
	}
	public void setWvalues(List<String> wvalues) {
		this.wvalues = wvalues;
	}
	public Map<String, String> getReturnPk() {
		return returnPk;
	}
	public void setReturnPk(Map<String, String> returnPk) {
		this.returnPk = returnPk;
	}
	public StringBuffer getTmpSql() {
		return tmpSql;
	}
	public void setTmpSql(StringBuffer tmpSql) {
		this.tmpSql = tmpSql;
	}
	public List<String> getNeedCname() {
		return needCname;
	}
	public void setNeedCname(List<String> needCname) {
		this.needCname = needCname;
	}
	public List<String> getNeedCvalue() {
		return needCvalue;
	}
	public void setNeedCvalue(List<String> needCvalue) {
		this.needCvalue = needCvalue;
	}
	public String getDsId() {
		return dsId;
	}
	public void setDsId(String dsId) {
		this.dsId = dsId;
	}
	public String getDjId() {
		return djId;
	}
	public void setDjId(String djId) {
		this.djId = djId;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public List<Map<String, Object>> getRecordLogColns() {
		return recordLogColns;
	}
	public void setRecordLogColns(List<Map<String, Object>> recordLogColns) {
		this.recordLogColns = recordLogColns;
	}
	public List<String> getCformatFunc() {
		return cformatFunc;
	}
	public void setCformatFunc(List<String> cformatFunc) {
		this.cformatFunc = cformatFunc;
	}
	public String getTablePkVal() {
		return tablePkVal;
	}
	public void setTablePkVal(String tablePkVal) {
		this.tablePkVal = tablePkVal;
	}
	
	
}
